home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / PredatorPrey / AEvent.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-22  |  741 b   |  32 lines  |  [TEXT/KAHL]

  1. /* AEvent.h */
  2.  
  3. #ifndef __AEV__
  4. #define __AEV__
  5.  
  6. #define jcu    TRUE
  7.  
  8. /*----------*/
  9. //void            AEventSeg            (void);
  10.  
  11. void            InitializeAE        (void);
  12.  
  13. #ifdef jcu
  14.     void            DoHighLevelEvent    (EventRecord *theEvent);
  15. #else
  16.     void            DoHighLevelEvent    (void);
  17. #endif
  18. OSErr            MyGotRequiredParams    (const AppleEvent    *theEvent);
  19. pascal OSErr    DoAEOpenApp        (AppleEvent        *theEvent,
  20.                                  AppleEvent        *reply,
  21.                                  long            refCon);
  22. pascal OSErr    DoAEOpenDoc        (AppleEvent        *theEvent,
  23.                                  AppleEvent        *reply,
  24.                                  long            refCon);
  25. pascal OSErr    DoAEPrintDoc    (AppleEvent        *theEvent,
  26.                                  AppleEvent        *reply,
  27.                                  long            refCon);
  28. pascal OSErr    DoAEQuit        (AppleEvent        *theEvent,
  29.                                  AppleEvent        *reply,
  30.                                  long            refCon);
  31.  
  32. #endif    /*    __AEV__    */